<template>
    <div class="threshold">
        <el-tabs v-model="activeName" @tab-click="handleClick">
            <el-tab-pane label="末端设置" name="first">
                <EndSetting />
            </el-tab-pane>
            <el-tab-pane label="机房设置" name="second">

            </el-tab-pane>
        </el-tabs>
    </div>
</template>
<script>
import EndSetting from './threshold/endSetting.vue'
export default {
    name: "Threshold",
    data() {
        return {
            activeName: "first",
        };
    },
    components: { EndSetting },
    methods: {
        handleClick(tab, event) {
            console.log(tab, event);
        },

    },
};
</script>
  
<style lang="scss" scoped></style>
    